package com.ncss.http.proxy.server;

import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;

public class Parameters {

    private String x;
    private String y;
    private String z;

    private String url;
    private String filePath;

    public Parameters(String x, String y, String z) {
        this.x = x;
        this.y = y;
        this.z = z;
    }

    public Parameters(int x, int y, int z) {
        this.x = x + "";
        this.y = y + "";
        this.z = z + "";
    }

    public String getX() {
        return x;
    }

    public void setX(String x) {
        this.x = x;
    }

    public String getY() {
        return y;
    }

    public void setY(String y) {
        this.y = y;
    }

    public String getZ() {
        return z;
    }

    public void setZ(String z) {
        this.z = z;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }


    public static void main(String args[]) throws Exception {
        String file = "F:\\darkmap_tiles\\13\\8191\\3721.png";
        InputStream in = new FileInputStream(file);
        File f =new File(file);
        System.out.println(f.length());
        byte[] b = new byte[1];
        int len = 0;
        while ((len = in.read(b))>0){
            System.out.print(b[0]+",");
        }
//-119,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,1,0,0,0,1,0,8,3,0,0,0,107,-84,88,84,0,0,0,3,80,76,84,69,71,112,76,-126,-6,-46,-46,0,0,0,1,116,82,78,83,0,64,-26,-40,102,0,0,0,84,73,68,65,84,120,-38,-19,-63,1,1,0,0,0,-128,-112,-2,-81,-18,8,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,1,15,0,1,28,114,9,-61,0,0,0,0,73,69,78,68,-82,66,96,-126
//-119,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,1,0,0,0,1,0,8,3,0,0,0,107,-84,88,84,0,0,0,3,80,76,84,69,71,112,76,-126,-6,-46,-46,0,0,0,1,116,82,78,83,0,64,-26,-40,102,0,0,0,84,73,68,65,84,120,-38,-19,-63,1,1,0,0,0,-128,-112,-2,-81,-18,8,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,1,15,0,1,28,114,9,-61,0,0,0,0,73,69,78,68,-82,66,96,-126
//-119,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,1,0,0,0,1,0,8,3,0,0,0,107,-84,88,84,0,0,0,3,80,76,84,69,71,112,76,-126,-6,-46,-46,0,0,0,1,116,82,78,83,0,64,-26,-40,102,0,0,0,84,73,68,65,84,120,-38,-19,-63,1,1,0,0,0,-128,-112,-2,-81,-18,8,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,1,15,0,1,28,114,9,-61,0,0,0,0,73,69,78,68,-82,66,96,-126
//-119,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,1,0,0,0,1,0,8,3,0,0,0,107,-84,88,84,0,0,0,3,80,76,84,69,71,112,76,-126,-6,-46,-46,0,0,0,1,116,82,78,83,0,64,-26,-40,102,0,0,0,84,73,68,65,84,120,-38,-19,-63,1,1,0,0,0,-128,-112,-2,-81,-18,8,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,1,15,0,1,28,114,9,-61,0,0,0,0,73,69,78,68,-82,66,96,-126,
        //byte[] black

    }
}
